home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Softwarová Záchrana 3
/
Softwarova-zachrana-3.bin
/
Xteq X-Setup
/
xqdcXSP-Setup-EN.exe
/
{app}
/
plugins
/
XQ Welcome Options 1.xpl
< prev
next >
Wrap
Text File
|
2002-01-20
|
2KB
|
77 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="4"
"UIPATH 1"="Appearance\System\Message Windows"
"UIPATH 2"="Startup/Shutdown\Startup\Windows 9x/ME\80) Windows Launch"
"UIPATH 3"="Startup/Shutdown\Startup\Windows NT/2K/XP\60) Windows Launch"
"NAME"="Welcome Messages"
"VERSION"="1.52"
"LANGUAGE"="VBScript"
"OSVERSION"="111"
"TEXT 1"="Show Windows "Welcome" window"
"TEXT 2"="Show Internet Explorer "Welcome" window"
"TEXT 3"="Show animated "<- Click here to begin""
"TEXT 4"="Show pop-up messages during Login"
"DESCRIPTION 1"="Some options about the startup-process."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
Sub Plugin_Initialize
i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show")
if i=1000 then SetUIElement 1,true
if IsEmpty(i) then SetUIElement 1,true
i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4")
if i=1 then SetUIElement 2,true
i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner")
if i=0 then SetUIElement 3,true
i=RegReadValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot")
if i=0 then SetUIElement 4,true
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","1000",3)
else
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","0000",3)
end if
b=GetUIElement(2)
if b=true then
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",1,2)
else
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",0,2)
end if
b=GetUIElement(3)
if b=true then
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",0,2)
else
Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",1,2)
end if
b=GetUIElement(4)
if b=true then
Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot","0",1)
else
Call RegWriteValue("HKLM\System\CurrentControlSet\Control\Windows\NoPopUpsOnBoot","1",1)
end if
Call Restart()
End Sub
Sub Plugin_Terminate
End Sub